package com.ruoyi.yipaiju.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yipaiju.mapper.GroupValueAddedSigningorderMapper;
import com.ruoyi.yipaiju.domain.GroupValueAddedSigningorder;
import com.ruoyi.yipaiju.service.IGroupValueAddedSigningorderService;

/**
 * fo_group_value_added_signingorderService业务层处理
 * 
 * @author liuwp
 * @date 2023-03-01
 */
@Service
public class GroupValueAddedSigningorderServiceImpl implements IGroupValueAddedSigningorderService 
{
    @Autowired
    private GroupValueAddedSigningorderMapper groupValueAddedSigningorderMapper;

    /**
     * 查询fo_group_value_added_signingorder
     * 
     * @param id fo_group_value_added_signingorder主键
     * @return fo_group_value_added_signingorder
     */
    @Override
    public GroupValueAddedSigningorder selectGroupValueAddedSigningorderById(Long id)
    {
        return groupValueAddedSigningorderMapper.selectGroupValueAddedSigningorderById(id);
    }

    /**
     * 查询fo_group_value_added_signingorder列表
     * 
     * @param groupValueAddedSigningorder fo_group_value_added_signingorder
     * @return fo_group_value_added_signingorder
     */
    @Override
    public List<GroupValueAddedSigningorder> selectGroupValueAddedSigningorderList(GroupValueAddedSigningorder groupValueAddedSigningorder)
    {
        return groupValueAddedSigningorderMapper.selectGroupValueAddedSigningorderList(groupValueAddedSigningorder);
    }

    /**
     * 根据业务主键查询一条记录：fo_group_value_added_signingorder
     *
     * @param groupValueAddedSigningorder fo_group_value_added_signingorder
     * @return fo_group_value_added_signingorder
     */
    @Override
    public GroupValueAddedSigningorder selectOneGroupValueAddedSigningorder(GroupValueAddedSigningorder groupValueAddedSigningorder)
    {
        return groupValueAddedSigningorderMapper.selectOneGroupValueAddedSigningorder(groupValueAddedSigningorder);
    }

    /**
     * 新增fo_group_value_added_signingorder
     * 
     * @param groupValueAddedSigningorder fo_group_value_added_signingorder
     * @return 结果
     */
    @Override
    public int insertGroupValueAddedSigningorder(GroupValueAddedSigningorder groupValueAddedSigningorder)
    {
        return groupValueAddedSigningorderMapper.insertGroupValueAddedSigningorder(groupValueAddedSigningorder);
    }

    /**
     * 修改fo_group_value_added_signingorder
     * 
     * @param groupValueAddedSigningorder fo_group_value_added_signingorder
     * @return 结果
     */
    @Override
    public int updateGroupValueAddedSigningorder(GroupValueAddedSigningorder groupValueAddedSigningorder)
    {
        return groupValueAddedSigningorderMapper.updateGroupValueAddedSigningorder(groupValueAddedSigningorder);
    }

    @Override
    public int updateGroupValueAddedSigningorderCondition(GroupValueAddedSigningorder groupValueAddedSigningorder, GroupValueAddedSigningorder groupValueAddedSigningorderCondition)
    {
        return groupValueAddedSigningorderMapper.updateGroupValueAddedSigningorderCondition(groupValueAddedSigningorder, groupValueAddedSigningorderCondition);
    }

    /**
     * 批量删除fo_group_value_added_signingorder
     * 
     * @param ids 需要删除的fo_group_value_added_signingorder主键
     * @return 结果
     */
    @Override
    public int deleteGroupValueAddedSigningorderByIds(Long[] ids)
    {
        return groupValueAddedSigningorderMapper.deleteGroupValueAddedSigningorderByIds(ids);
    }

    /**
     * 删除fo_group_value_added_signingorder信息
     * 
     * @param id fo_group_value_added_signingorder主键
     * @return 结果
     */
    @Override
    public int deleteGroupValueAddedSigningorderById(Long id)
    {
        return groupValueAddedSigningorderMapper.deleteGroupValueAddedSigningorderById(id);
    }

    /**
     * 条件删除fo_group_value_added_signingorder
     *
     * @param groupValueAddedSigningorder fo_group_value_added_signingorder
     * @return 结果
     */
    @Override
    public int deleteGroupValueAddedSigningorderByCondition(GroupValueAddedSigningorder groupValueAddedSigningorder)
    {
        return groupValueAddedSigningorderMapper.deleteGroupValueAddedSigningorderByCondition(groupValueAddedSigningorder);
    }

}
